<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<c:if test="${not empty type }">
	<t:base type="jquery,easyui,tools"></t:base>
</c:if>
<%--update-start--Author:zhangguoming  Date:20140828 for：bug修复：角色列表，查看用户列表报错--%>
<t:datagrid name="userList" title="user.manage" actionUrl="roleController.do?roleUserDatagrid&roleId=${roleId}" fit="true" fitColumns="true" idField="id" onDblClick="dbClick">
<%--update-end--Author:zhangguoming  Date:20140828 for：bug修复：角色列表，查看用户列表报错    --%>
	<t:dgCol title="common.id" field="id" hidden="true" ></t:dgCol>
	<t:dgCol title="common.username" sortable="false" field="userName" width="5"></t:dgCol>
	<t:dgCol title="common.real.name" field="realName" width="5"></t:dgCol>
</t:datagrid>
<script type="text/javascript">
function dbClick(){
	var type = '${type}';
	if(type != ""){
		window.parent.$('.ui_state_highlight')[0].click();	
	}
}
</script>
